package com.example.product;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ConfigurableApplicationContext;


@EnableDiscoveryClient //开启服务发现功能
@SpringBootApplication
public class ProductMainApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext oc  = SpringApplication.run(ProductMainApplication.class, args);

    }

}
